package com.itheima.crops.dao;

import com.itheima.crops.pojo.Disease;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface DiseaseMapper extends Mapper<Disease> {
    @Select("select cid from t_pcrops_disease where did = #{did}")
    public List<Integer> findCidsByDid(Integer did);
}
